From a2802754f160d99b5c0b75c2dc05cbb79e61a9d2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 6 Jul 2008 06:28:47 +0000 Subject: [PATCH] =?utf8?q?Bug=20327582=20=E2=80=93=20Incomplete=20docs=20f?= =?utf8?q?or=20GtkSettings::gtk-icon-sizes?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2008-07-06 Matthias Clasen Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes * gtk/gtksettings.c: Improve the documentation of the gtk-icon-sizes setting. Proposed by Tommi Komulainen. svn path=/trunk/; revision=20790 --- ChangeLog | 7 +++++++ gtk/gtksettings.c | 14 ++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/ChangeLog b/ChangeLog index a348946ab9..a677ffba5e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-07-06 Matthias Clasen + + Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes + + * gtk/gtksettings.c: Improve the documentation of the + gtk-icon-sizes setting. Proposed by Tommi Komulainen. + 2008-07-06 Matthias Clasen Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index 7652cacfd2..47c3c942ec 100644 --- a/gtk/gtksettings.c +++ b/gtk/gtksettings.c @@ -342,6 +342,20 @@ gtk_settings_class_init (GtkSettingsClass *class) NULL); g_assert (result == PROP_FONT_NAME); + /** + * GtkSettings:gtk-icon-sizes: + * + * A list of icon sizes. The list is separated by colons, and + * item has the form: + * + * size-name = width , height + * + * E.g. "gtk-menu=16,16:gtk-button=20,20:gtk-dialog=48,48". + * GTK+ itself use the following named icon sizes: gtk-menu, + * gtk-button, gtk-small-toolbar, gtk-large-toolbar, gtk-dnd, + * gtk-dialog. Applications can register their own named icon + * sizes with gtk_icon_size_register(). + */ result = settings_install_property_parser (class, g_param_spec_string ("gtk-icon-sizes", P_("Icon Sizes"), -- 2.30.2